package com.inventive.jmscache.server;

import javax.jms.JMSException;
import javax.jms.Topic;

/**
 * Created by IntelliJ IDEA.
 */
public class JmsCacheTopic extends JmsCacheDestination implements Topic {

    public JmsCacheTopic(JmsCacheServer jmsCacheServer, String name, DestinationType destinationType) {
        super(jmsCacheServer, name, destinationType);
    }

    public String getTopicName() throws JMSException {
        return name;
    }
}
